<template>
    <footer class="footer">
      <van-tabbar v-model="active">
  <van-tabbar-item to="/" icon="home-o">首页</van-tabbar-item>
  <van-tabbar-item to="/login" icon="search">登录</van-tabbar-item>
  <van-tabbar-item to="/regsiter" icon="friends-o">注册</van-tabbar-item>
  <van-tabbar-item to="/user" icon="setting-o">我的</van-tabbar-item>
</van-tabbar>
    </footer>
</template>

<script setup>
import { ref } from 'vue';
const active=ref('')
</script>

<style lang="scss" scoped>

</style>